{include file=member.header.html}
<div class="content"> {include file=member.menu.html}
	<div id="right"> {include file=member.curlocal.html}
		{include file=member.submenu.html}
		<div class="wrap">
			<div class="public_index table1">
				<div class="user-integral-info mb10">
					<div class="valid user-integral"> <b class="des">可用的积分</b> <b class="piont">{$integral_piont|default:0}</b> </div>
					<div style="border:0px;" class="invalid user-integral"> <b class="des">冻结的积分</b> <b class="piont decr">{$frozen_integral|default:0}</b> </div>
					<div class="clear"></div>
				</div>
				<!--{if $integral_log}-->
				<div class="user-integral-detail mb10">
					<table>
						<tr>
							<th>来源/用途</th>
							<th>积分变化</th>
							<th>余额</th>
							<th>状态</th>
							<th>日期</th>
							<th>备注</th>
						</tr>
						<!-- {foreach from=$integral_log item=integral name=log} -->
						<tr>
							<td>{$integral.name}</td>
							<td class="change"><!--{if $integral.changes gt 0}--> 
								<span class="plus">+{$integral.changes}</span> 
								<!--{else}--> 
								<span class="minus">{$integral.changes}</span> 
								<!--{/if}--></td>
							<td class="balance"><span>{$integral.balance}</span></td>
							<td>{$integral.state}</td>
							<td>{$integral.add_time|date:Y年m月d日 H:i:s}</td>
							<td><font> 
								<!--{if $integral.flag}-->{$integral.flag}<br />
								<!--{/if}--> 
								<!--{if $integral.order_id}--> 
								订单号：{$integral.order_sn} <a class="ml10" target="_blank" href="index.php?app={if $integral.type eq 'selling_has_integral'}seller_order{else}buyer_order{/if}&act=view&order_id={$integral.order_id}">订单详情</a> 
								<!--{/if}--> 
								</font></td>
						</tr>
						<!--{/foreach}-->
					</table>
				</div>
				{include file=member.page.bottom.html} 
				<!--{else}-->
				<div class="notice-word">
					<p>{$lang.no_records}</p>
				</div>
				<!--{/if}--> 
			</div>
		</div>
	</div>
	<div class="clear"></div>
</div>
<iframe id='iframe_post' name="iframe_post" src="about:blank" frameborder="0" width="0" height="0"></iframe>
{include file=footer.html} 